ROO-531: Fix integration-test workflow skip messaging for fork PRs#10732
Draft
roomote[bot] wants to merge 1 commit intomainfrom
Draft
ROO-531: Fix integration-test workflow skip messaging for fork PRs#10732roomote[bot] wants to merge 1 commit intomainfrom
roomote[bot] wants to merge 1 commit intomainfrom
Conversation
…ation - Create comprehensive guide for fork contributors (.github/FORK_CONTRIBUTORS.md) - Document fork PR behavior in E2E test README - Explain why integration tests are skipped for fork PRs (security) - Provide instructions for running tests locally Related to ROO-531
Contributor
Author
Review complete. Found 1 minor issue with a broken relative link.
Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
|
|
||
| If you have questions about fork contributions or testing: | ||
|
|
||
| - Check the [main CONTRIBUTING guide](../../CONTRIBUTING.md) |
Contributor
Author
There was a problem hiding this comment.
Broken relative link: this file is at .github/FORK_CONTRIBUTORS.md, so ../../ goes outside the repo root. The correct path is ../CONTRIBUTING.md (one level up to repo root).
Suggested change
| - Check the [main CONTRIBUTING guide](../../CONTRIBUTING.md) | |
| - Check the [main CONTRIBUTING guide](../CONTRIBUTING.md) |
Fix it with Roo Code or mention @roomote and request a fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root Cause Analysis
Finding: Integration tests are being skipped on fork PRs, which is expected behavior due to GitHub security restrictions.
Why this happens:
OPENROUTER_API_KEY) to workflows triggered by pull requests from forked repositoriescheck-openrouter-api-keyjob detects the missing secret and theintegration-testjob is skipped via itsifconditionEvidence:
integration-teststatus =SKIPPEDintegration-teststatus =SUCCESSWhat This PR Does
1. Added Comprehensive Documentation ✅
New file:
.github/FORK_CONTRIBUTORS.mdUpdated:
apps/vscode-e2e/README.md2. Workflow Improvements (Requires Manual Application)
The following changes to
.github/workflows/code-qa.ymlneed to be applied by a maintainer with workflow permissions:What this does:
is_forkoutputWhy I cannot apply this: The GitHub App used for this PR does not have
workflowspermission, which is required to modify workflow files. A maintainer with appropriate permissions needs to apply these changes.Recommendations
For Maintainers
For Contributors
.github/FORK_CONTRIBUTORS.mdTesting
yaml-lintImpact
View task on Roo Code Cloud
Important
Adds documentation for fork PRs and proposes workflow changes to improve messaging for skipped integration tests.
.github/FORK_CONTRIBUTORS.mdto explain why integration tests are skipped for fork PRs and how to run tests locally.apps/vscode-e2e/README.mdto include a section on fork PRs, linking to the new contributor guide..github/workflows/code-qa.ymlto detect fork PRs and provide notices about skipped tests.This description was created by
for d2e9d47. You can customize this summary. It will automatically update as commits are pushed.